package com.ruoyi.basic.mapper;

import java.util.List;
import com.ruoyi.basic.domain.BasicTrain;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * 培训经历Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-23
 */
@Repository
public interface BasicTrainMapper extends BaseMapper<BasicTrain>
{

    /**
     * 查询培训经历
     *
     * @param trainId 培训经历主键
     * @return 培训经历
     */
    public BasicTrain selectBasicTrainByTrainId(Long trainId);

    /**
     * 查询培训经历列表
     * 
     * @param basicTrain 培训经历
     * @return 培训经历集合
     */
    public List<BasicTrain> selectBasicTrainList(BasicTrain basicTrain);

}
